import request from '@/utils/request'
export const address = (limit) => {
  return request({
    url: `/companies/list?limit=${limit}`
    // url: '/companies/list'
  })
}
export const detailInfo = (id) => {
  return request({
    url: '/companies/' + id
  })
}
export const userComment = (id, limit) => {
  return request({
    url: `/companies/${id}/comments?limit=${5}&start=${limit}`
  })
}
// export const userComment = (id, limit) => {
//   return request({
//     url: `/companies/${id}/comments?limit=${5}&start=${limit}`
//   })
// }
